package com.teadent.dao;

import com.teadent.bean.Person;
import com.teadent.util.ConnectionFactory;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

public class UserDaoImpl implements UserDao{
    @Override
    public Person getSelf(String userAccount) {
        String sql="select * from person where userAccount='" +userAccount +"'";
        return Deal.getSelf(sql);
    }
}
